home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ABUSESRC.ZIP / AbuseSrc / macabuse / imlib / port / x11 / monoprnt.c < prev    next >
C/C++ Source or Header  |  1997-05-20  |  406b  |  28 lines

  1. #include <stdio.h>
  2. #include <stdarg.h>
  3. #include <unistd.h>
  4. #include <sys/types.h>
  5. #include <fcntl.h>
  6. #include "macs.hpp"
  7.  
  8. int monofd=-1;
  9.  
  10.  
  11. void mnclear()
  12.   int i;
  13.   for (i=0;i<25;i++);
  14.    printf("\n");
  15. }
  16.  
  17. void mnprintf(const char *format, ...)
  18. {
  19.   char st[200],a,*sp;
  20.   int y;
  21.   va_list ap;
  22.   va_start(ap, format);
  23.   vsprintf(st,format,ap);
  24.   va_end(ap);
  25.   printf("%s",st);
  26. }
  27.